/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.tawriq.assignment2.question3.OCP.Violation;

/**
 *
 * @author Tawriq
 */
public class Pet{
    private String name;
    private boolean nuted;

    public Pet(String name, boolean nuted) {
        this.name = name;
        this.nuted = nuted;
    }

    public Pet() {
        throw new UnsupportedOperationException("Not yet implemented");
    }
    
    public boolean Spadeable(Cat pet){
        if(pet.Spadeable(nuted))
            return false;
        else
            return true;
    }
    
}
